import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Demo95 {
    public static void main(String[] args) throws IOException {
try( InputStream inputStream = new FileInputStream("./text.txt");){
    while(true){
        int b = inputStream.read();
        if(b==-1){
            break;
        }
        System.out.printf("%c",b);
    }
}
    }
}
